package cn.iocoder.yudao.module.trade.controller.app.order.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
@Data
public class AppTradeOrderSkuReqVO {

    @Schema(description = "商品 SKU 编号", example = "2048")
    @NotNull(message = "商品 SKU 编号不能为空")
    private Long skuId;

    @Schema(description = "购买数量", example = "1")
    @Min(value = 1, message = "购买数量最小值为 {value}")
    private Integer count;
}
